package com.duowei.diandan.db.entry;

import android.arch.persistence.room.Entity;
import android.arch.persistence.room.PrimaryKey;

/**
 * 微信、支付宝扫描支付设置 sql server
 */
@Entity
public class PaySet {

    public static final String QUERY_SQL = "SELECT pid, by1, by2, by3, fwqdz, by7, by6 FROM PaySet|";

    @PrimaryKey(autoGenerate = true)
    private long id;

    /** 支付宝APPID */
    private String pid;
    /** 分店编号 */
    private String by1;
    /** 分店名称 */
    private String by2;
    /** 微信ID */
    private String by3;
    /** 服务器地址 */
    private String fwqdz;
    /** 扫码支付 */
    /** 微信支付调用 方式 */
    private String by7;
    private String by6;

    public PaySet() {
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    public String getBy1() {
        return by1;
    }

    public void setBy1(String by1) {
        this.by1 = by1;
    }

    public String getBy2() {
        return by2;
    }

    public void setBy2(String by2) {
        this.by2 = by2;
    }

    public String getBy3() {
        return by3;
    }

    public void setBy3(String by3) {
        this.by3 = by3;
    }

    public String getFwqdz() {
        return fwqdz;
    }

    public void setFwqdz(String fwqdz) {
        this.fwqdz = fwqdz;
    }

    public String getBy7() {
        return by7;
    }

    public void setBy7(String by7) {
        this.by7 = by7;
    }

    public String getBy6() {
        return by6;
    }

    public void setBy6(String by6) {
        this.by6 = by6;
    }
}
